package com.gimi.cloud.bbp.app.consumer.service.mall;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 购物车服务
 * @author lilinfeng
 */
public interface MallCartService {
	/**
	 * 添加商品到购物车
	 * @param requestData
	 * @param request
	 * @param response
	 */
	void addGoodsToShoppingCart(String requestData, HttpServletRequest request, HttpServletResponse response);

	/**
	 * 获取购物车数据
	 * @param requestData
	 * @param request
	 * @param response
	 */
	void showShoppingCart(String requestData, HttpServletRequest request, HttpServletResponse response);

	/**
	 * 更新购物车
	 * @param requestData
	 * @param request
	 * @param response
	 */
	void updateShoppingCart(String requestData, HttpServletRequest request, HttpServletResponse response);

	/**
	 * 批量删除购物车中数据
	 * @param requestData
	 * @param request
	 * @param response
	 */
	void deleteShoppingCart(String requestData, HttpServletRequest request, HttpServletResponse response);
}